<!doctype html>
<html>
<head>
  <meta charSet="utf-8" />
  <title>Casher</title>
  <script>
    //直接访问链接，无window.require对象，用于调试UI样式
    if (!window.require) {
    window.require = () => {
      ipcRenderer = () => {
        function send(event) {
          console.log(event);
        }
        function removeAllListeners(event){
          console.log(event)
        }
        function on(event,funct,para){
          console.log(event);
        }
        return {
          send,removeAllListeners,on
        };
      };
      return { ipcRenderer:ipcRenderer() };
    };
  }
  </script>
</head>
<body>
  <div id="root"></div>
</body>
</html>
